/*
 * meminfo.c
 *
 * Prints memory usage for the mud
*/

#include "sample.h"

mixed main(string str)
{
    message("command",
            sprintf("The mud is currently using %d bytes of memory.\n", memory_info()),
            this_player());

    return 1;
}

private void foo()
{
    mapping baz = ([]);

    baz["foo"] = ({});
    bar(baz["foo"]);
}

private void bar(mixed val)
{
    int x = '\x0f';
    int y = '\n';
    int z = '\233';
    int q = 'a';
    int a = '\xfe';
}